Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add snackbar on maintenance message #346

Closed
wants to merge 4 commits into from
Closed

Conversation

AbdelHedhili
Copy link
Contributor

No description provided.

@AbdelHedhili AbdelHedhili self-assigned this Feb 7, 2024
@jamal-khey jamal-khey self-requested a review February 7, 2024 09:21
Copy link
Contributor

@jamal-khey jamal-khey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test and code Ok

@flomillot
Copy link
Contributor

flomillot commented Feb 8, 2024

In meeting last time we said we should create a new hook inside commons-ui instead of duplicating the code in both gridstudy and gridexplore.
We already have something similar that we could ajust or get inspiration from, and it's something we need in every front app.
https://github.com/gridsuite/commons-ui/blob/520b575880b7bb5fbe582d34a0f4b924b9274573/src/hooks/useSnackMessage.js#L12

@AbdelHedhili AbdelHedhili reopened this Feb 8, 2024
@AbdelHedhili
Copy link
Contributor Author

In meeting last time we said we should create a new hook inside commons-ui instead of duplicating the code in both gridstudy and gridexplore. We already have something similar that we could ajust or get inspiration from, and it's something we need in every front app. https://github.com/gridsuite/commons-ui/blob/520b575880b7bb5fbe582d34a0f4b924b9274573/src/hooks/useSnackMessage.js#L12

agreed, it was just a fast first version. We can do the refacto in another or in this one if you prefer to use commons-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants